package com.bookstore.service;

import com.bookstore.entity.Book;
import com.bookstore.entity.BookCar;
import com.bookstore.entity.Order;
import com.bookstore.entity.PageBean;

import java.util.List;

/**
 * @Author Cofe
 * @Date 2022/5/2 19:07
 */
public interface OrderService {
    void insertInto(int bid, String book_name, Double book_balance,int user_uid,String book_pic,int buy_id,
                    double book_membalance,String username,String address,String phone);
    List<Order> findorderbyid(int user_uid);
    PageBean<Order> findourderbyPageAndCondition(int currentPage, int pageSize, String username);
    //删除订单通过订单编号
    String deleteOrder(int buy_id);
    //查询个人的订单信息
    List<Order> selectOrderByUser(String username);
    //签收订单
    String receiptOrder(int buy_id);
    //查询所有用户订单
    PageBean<Order> selectAllOrder(int currentPage,int pageSize);
}
